package com.cq.mapper;

import com.cq.pojo.ActivityMediaSlotAnalysis;
import com.cq.pojo.ActivityMediaSlotAnalysisExample;
import java.util.List;

import com.cq.pojo.PlatformComparison;
import org.apache.ibatis.annotations.Param;

public interface ActivityMediaSlotAnalysisMapper {
    int countByExample(ActivityMediaSlotAnalysisExample example);

    int deleteByExample(ActivityMediaSlotAnalysisExample example);

    int insert(ActivityMediaSlotAnalysis record);

    int insertSelective(ActivityMediaSlotAnalysis record);

    List<ActivityMediaSlotAnalysis> selectByExample(ActivityMediaSlotAnalysisExample example);

    int updateByExampleSelective(@Param("record") ActivityMediaSlotAnalysis record, @Param("example") ActivityMediaSlotAnalysisExample example);

    int updateByExample(@Param("record") ActivityMediaSlotAnalysis record, @Param("example") ActivityMediaSlotAnalysisExample example);

    List<String> getContactPoint();

    List<PlatformComparison> selectPlatformDeliveryComparison(String cidA, String cidB, String filed);

    List<PlatformComparison> selectDistributionOfSubMediaPlatforms(String cidA, String cidB, String filed);

    List<PlatformComparison> selectContactTypeComposition(String cidA, String cidB, String filed);

    List<PlatformComparison> selectContactDistribution(String cidA, String cidB, String filed, String media);
}